package com.rx.mylist.vo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.rx.core.anno.RxRelationField;
import com.rx.core.anno.RxRelationInfo;
import com.rx.core.anno.RxRelationMath;
import com.rx.core.data.RxData;
import com.rx.core.dbase.RxMarkDbMust;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@RxData
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)

public class ListMemberInfo extends RxMarkDbMust {
    private static final long serialVersionUID = 1L;

    public static final String OWNER_BID = "owner_bid";
    public static final String OWNER_NAME = "owner_name";
    public static final String POSITION = "position";
    public static final String MATERIAL_BID = "material_bid";

    public static final String ASS_BID="1";
    public static final String ME_BID="2";

    @TableField("STATUS")
    private String status;

    @TableField("OWNER_BID")
    private String ownerBid;
    @TableField("OWNER_NAME")
    private String ownerName;

    @RxRelationField(value = {
            @RxRelationInfo(tableName = "list_material_info",fieldName = "bid",JudgeAppend="returnType=1"),
    })
    @TableField("MATERIAL_BID")
    private String materialBid;

    @TableField("POSITION")
    private String position;
    @TableField("SESSION")
    private Integer session;
    @TableField("REMARK")
    private String remark;
}
